<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>增加服务功能</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../../component/elementUI/index.css">
    <link rel="stylesheet" href="../../../style/index.css">
</head>

<body>
    <div id="app" class="minWidth">
        <el-form :model="form" :rules="rules" ref="contract" inline-message="true" style="width: 100%">
            <div class="table_titel">
                <div class="titel">增加服务功能</div>
            </div>
            <el-descriptions :column="3" border size="small">
                <el-descriptions-item label="服务名称">
                    <el-form-item prop="Page_Services_Title">
                        <el-input v-model.trim="form.Page_Services_Title" placeholder="请输入服务名称"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="服务类型">
                    <el-form-item prop="Page_Services_Type">
                        <el-select v-model.trim="form.Page_Services_Type" placeholder="请选择服务类型" filterable clearable
                            style="width: 100%">
                            <el-option v-for="(item,index) in page_services_type" :key="index" :label="item.label"
                                :value="item.value"></el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="跳转路径">
                    <el-form-item prop="Page_Services_Route">
                        <el-input placeholder="请输入备注" v-model.trim="form.Page_Services_Route"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="图标">
                    <el-form-item prop="Page_Services_Icon">
                        <yl-upload action="/FileListColumn" :base="DomainICON"
                            v-model="form.Page_Services_Icon"></yl-upload>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="说明">
                    <el-form-item prop="Page_Services_Notes">
                        <el-input type="textarea" :autosize="{ minRows: 5, maxRows: 5}" placeholder="请输入服务说明"
                            v-model="form.Page_Services_Notes" maxlength="100" show-word-limit>
                        </el-input>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <el-form-item class="form-operation">
                <el-button @click="window.history.back()">返回</el-button>
                <el-button @click="resetForm('contract')">重置</el-button>
                <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
            </el-form-item>
        </el-form>
    </div>
    <script type="text/javascript" src="../../../utils/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="../../../utils/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../utils/vue.min.js"></script>
    <script type="text/javascript" src="../../../component/elementUI/index.js"></script>

    <script type="text/javascript" src="../../../utils/compressor.js"></script>
    <script type="text/javascript" src="../../../utils/utils.js"></script>
    <script type="text/javascript" src="../../../component/component.js"></script>
    <script type="text/javascript" src="../../../utils/ID_Validity.js"></script>
    <script type="text/javascript" src="js/Edit.js"></script>
</body>

</html>